package com.itbaizhan.cxpt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbaizhan.cxpt.entity.CxptBz;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java.util.Map;

@Mapper
public interface CxptBzMapper extends BaseMapper<CxptBz> {

    /**
     * 根据标准号模糊查询
     * @param a100 标准号
     * @return 匹配的记录列表
     */
    @Select("SELECT a100, a298 FROM cxpt_bz WHERE a100 LIKE CONCAT('%', #{a100}, '%')")
    List<Map<String, Object>> findByA100Like(String a100);
}